<template>
    <CategorySelector></CategorySelector>
</template>

<script lang="ts">
import CategorySelector from '@/components/CategorySelector/index.vue'
export default {
    name: 'Attr',
    components: { CategorySelector }
}
</script>
<script lang="ts" setup>
import { reactive, onMounted } from 'vue'
import { reqGetCategory1ListData } from '@/api/product/category'
const formInline = reactive({
    user: '',
    region: ''
})

// 1. 页面挂载完成之后要发送请求获取一级导航数据
onMounted(async () => {
    const result = await reqGetCategory1ListData()
    console.log('cc', result)
})
const onSubmit = () => {
    console.log('submit!')
}
</script>

<style>
</style>